package org.crspta.gohomenotes.domain;

import javax.persistence.ManyToOne;
import javax.validation.constraints.Size;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(inheritanceType = "TABLE_PER_CLASS")
public abstract class GoHomeNote {

    @ManyToOne
    private Student student;

    @ManyToOne
    private Schedule schedule;

    @Size(max = 1024)
    private String comments;

    @ManyToOne
    private DismissalLocation dismissalLocation;
}
